package com.crc.luojian.resolver;

import javax.servlet.http.HttpServletRequest;
import java.lang.reflect.Parameter;

/**
 * @program: luojian-springframework
 * @description:  解析request 中方法参数并封装
 * @author: luojian58
 * @create: 2021-06-11 10:04
 */
public interface RequestResolver {
    //判断是否支持请求解析
    boolean support(Parameter parameter);
    Object resolveArgument(HttpServletRequest request, Parameter parameter);
}
